// @ts-ignore
/* eslint-disable */
import request from '@/request'

/** getLastNDaysOrderCount GET /api/order/stats/daily */
export async function getLastNDaysOrderCountUsingGet(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getLastNDaysOrderCountUsingGETParams,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponseMapStringString_>('/api/order/stats/daily', {
    method: 'GET',
    params: {
      // days has a default value: 7
      days: '7',
      ...params,
    },
    ...(options || {}),
  })
}
